Telegram Group & Telegram Channel
Даны следующие таблицы:

Employees
+-----------+---------+------------+
| EmployeeID| Name | Department |
+-----------+---------+------------+
| 1 | John | HR |
| 2 | Jane | IT |
| 3 | Mark | HR |
| 4 | Sarah | IT |
| 5 | Michael | Finance |
+-----------+---------+------------+

Salaries
+-----------+--------+
| EmployeeID| Salary |
+-----------+--------+
| 1 | 5000 |
| 2 | 6000 |
| 3 | 5500 |
| 4 | 6500 |
| 5 | 7000 |
+-----------+--------+

Какой из следующих SQL запросов отберет имена работников, имеющих зарплату большую или равную 6000?

A) SELECT Name FROM Employees WHERE Salary > 6000

B) SELECT Name FROM Employees JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID WHERE Salary >= 6000

C) SELECT Name FROM Employees INNER JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID WHERE Salary >= 6000

D) SELECT Name FROM Employees WHERE Salary >= 6000 JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID



tg-me.com/sql_for_qa/116
Create:
Last Update:

Даны следующие таблицы:

Employees

+-----------+---------+------------+
| EmployeeID| Name | Department |
+-----------+---------+------------+
| 1 | John | HR |
| 2 | Jane | IT |
| 3 | Mark | HR |
| 4 | Sarah | IT |
| 5 | Michael | Finance |
+-----------+---------+------------+

Salaries
+-----------+--------+
| EmployeeID| Salary |
+-----------+--------+
| 1 | 5000 |
| 2 | 6000 |
| 3 | 5500 |
| 4 | 6500 |
| 5 | 7000 |
+-----------+--------+

Какой из следующих SQL запросов отберет имена работников, имеющих зарплату большую или равную 6000?

A) SELECT Name FROM Employees WHERE Salary > 6000

B) SELECT Name FROM Employees JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID WHERE Salary >= 6000

C) SELECT Name FROM Employees INNER JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID WHERE Salary >= 6000

D) SELECT Name FROM Employees WHERE Salary >= 6000 JOIN Salaries ON Employees.EmployeeID = Salaries.EmployeeID

BY SQL для тестировщика


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/sql_for_qa/116

View MORE
Open in Telegram


SQL для тестировщика Telegram | DID YOU KNOW?

Date: |

What is Telegram?

Telegram is a cloud-based instant messaging service that has been making rounds as a popular option for those who wish to keep their messages secure. Telegram boasts a collection of different features, but it’s best known for its ability to secure messages and media by encrypting them during transit; this prevents third-parties from snooping on messages easily. Let’s take a look at what Telegram can do and why you might want to use it.

However, analysts are positive on the stock now. “We have seen a huge downside movement in the stock due to the central electricity regulatory commission’s (CERC) order that seems to be negative from 2014-15 onwards but we cannot take a linear negative view on the stock and further downside movement on the stock is unlikely. Currently stock is underpriced. Investors can bet on it for a longer horizon," said Vivek Gupta, director research at CapitalVia Global Research.

SQL для тестировщика from no


Telegram SQL для тестировщика
FROM USA